import json




class UserInfo:
    email = ""
    name = ""
    password = ""
    qq = ""
    def __init__(self,email,name,password,qq):
        self.email = email
        self.name = name
        self.password = password
        self.qq = qq
    def __str__(self):
        message = "email{},name{},password{},qq{}".format(self.email,self.name,self.password,self.qq)
        return message

file = open("D:\\json.txt","r")
lists = json.load(file)
users = []
for i in lists:
    user = UserInfo(i["email"],i["name"],i["password"],i["qq"])
    users.append(user)
for user in users:
    print(user)